import Vue from 'vue'
import VueRouter from 'vue-router'

const Index = () => import("views/index.vue");
const Home = () => import("views/home/Home.vue");

Vue.use(VueRouter)

const routes = [
  {
    path: "/",
    name: "index",
    component: Index,
    children: [
      {
        path: "/",
        name: "Home",
        component: Home
      }
    ]
  }
]

const router = new VueRouter({
  routes
})

export default router
